{{ if isset .Site.Taxonomies "tags" }}
{{ if not (eq (len .Site.Taxonomies.tags) 0) }}
<div class="tagslist">
	<p class="asidetitle">{{ .Site.Params.Strings.Tags | default "Tags" }}</p>
		<ul class="clearfix">
      {{ range $name, $items := .Site.Taxonomies.tags }}
			<li><a href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}" title="{{ $name }}">{{ $name }}<sup>{{ len $items }}</sup></a></li>
      {{ end }}
		</ul>
</div>
{{ end }}
{{ end }}
